package com.mlh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 缪林辉
 * @date 2024/3/11 23:39
 * @DESCRIPTION
 */
//启用定时任务
@EnableScheduling
@SpringBootApplication
//启用通过yml文件给属性赋值
@EnableConfigurationProperties
@MapperScan("com.mlh.mapper")
//启用Swagger2
@EnableSwagger2
public class BlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(BlogApplication.class,args);
    }
}
